package keqiang.com.kq_flutter_core_widget.util;

import com.inuker.bluetooth.library.BluetoothClient;

import me.zhouzhuo810.magpiex.utils.BaseUtil;

/**
 * 蓝牙管理工具
 */
public class BleManager {
    private static BluetoothClient mClient;
    
    public static BluetoothClient getClient() {
        if (mClient == null) {
            synchronized (BleManager.class) {
                if (mClient == null) {
                    mClient = new BluetoothClient(BaseUtil.getApp());
                }
            }
        }
        return mClient;
    }
}
